#include <stdio.h>

int buf[10] = {0};
int len = sizeof(buf)/sizeof(buf[0]);

void input_data()
{
	int i=0;
	for(i=0;i<len;i++)
	{
		scanf("%d",&buf[i]);
	}
} 

void count_data(int *num,int *sum)
{
	int j = 0;
	for(j=0;j<len;j++)
	{
		if(buf[j] > 0)
		{
			*num = *num + 1;
			*sum = *sum + buf[j];
		} 
	}
}


int main()
{
	int a = 0;
	int b = 0;
	input_data();
	count_data(&a,&b);
	printf("number=%d\nsum=%d\n",a,b);

	return 0;
}
